package org.ben.xintoucloud.javase.collection;

/**
 * @Author: Ben
 * @Date: 2019/7/11 10:01
 */
public class Student {
    private String name;
    private int age;
    private String number;
    private String className;
    private String gradeName;

    public Student(String name, int age, String number, String className, String gradeName) {
        this.name = name;
        this.age = age;
        this.number = number;
        this.className = className;
        this.gradeName = gradeName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", number='" + number + '\'' +
                ", className='" + className + '\'' +
                ", gradeName='" + gradeName + '\'' +
                '}';
    }
}
